public class Circle extends Shape{
    public int radius;
    public Circle(String type,int r) {
        super(type);
        this.radius = r;
    }

    @Override
    public String getType() {
        return super.getType();
    }

    @Override
    public String feature() {
        return "半径："+radius;
    }

    @Override
    public double area() {
        return 3.14*radius*radius;
    }

    @Override
    public void print() {
        super.print();
    }
}
